package com.jade.store.operation.vo;
import com.jade.bss.base.utils.EntityVo; 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 满减送
 */
@Data
@ApiModel(value ="满减送规则")
public class MJSVo extends EntityVo {
    @ApiModelProperty(value = "促销名称")
    private String name;
    @ApiModelProperty(value = "面值")
    private BigDecimal mjsAmount=new BigDecimal(0);
    @ApiModelProperty(value = "消费金额")
    private BigDecimal amount=new BigDecimal(0);
    @ApiModelProperty(value = "减多少")
    private BigDecimal jAmount=new BigDecimal(0);
    @ApiModelProperty(value = "是否包邮",example = "默认：0 不包邮  1：包邮")
    private int isFreeShipping=0;
    @Temporal(TemporalType.DATE)
    @ApiModelProperty(value = "生效时间")
    private Date beginTime;

    @Temporal(TemporalType.DATE)
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    @ApiModelProperty(value = "免邮费",example = "0：不免邮费  1：免邮费")
    private int freePost;
    @ApiModelProperty(value = "积分")
    private int integralNum;
    @ApiModelProperty(value = "全部商品",example = "0：全部商品  1：部分商品")
    private int allGoods;
    @ApiModelProperty(value = "使用商品编号")
    private String goodsIds;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "状态")
    private int status;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public int getIsFreeShipping() {
        return isFreeShipping;
    }

    public void setIsFreeShipping(int isFreeShipping) {
        this.isFreeShipping = isFreeShipping;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public BigDecimal getMjsAmount() {
        return mjsAmount;
    }

    public void setMjsAmount(BigDecimal mjsAmount) {
        this.mjsAmount = mjsAmount;
    }

    public BigDecimal getjAmount() {
        return jAmount;
    }

    public void setjAmount(BigDecimal jAmount) {
        this.jAmount = jAmount;
    }

    public int getIntegralNum() {
        return integralNum;
    }

    public void setIntegralNum(int integralNum) {
        this.integralNum = integralNum;
    }

    public int getAllGoods() {
        return allGoods;
    }

    public void setAllGoods(int allGoods) {
        this.allGoods = allGoods;
    }

    public String getGoodsIds() {
        return goodsIds;
    }

    public void setGoodsIds(String goodsIds) {
        this.goodsIds = goodsIds;
    }

    public int getFreePost() {
        return freePost;
    }

    public void setFreePost(int freePost) {
        this.freePost = freePost;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}



 
 